﻿using Common.Prism.Apps;
using Prism.Commands;
using System.Windows.Input;

namespace NxChatQQ.ViewModels.Components
{
    public class QueryFriendViewModel : BaseDialogViewModel
    {
        private string _Plaintext;
        public string Plaintext
        {
            get { return _Plaintext; }
            set { SetProperty(ref _Plaintext, value); }
        }

        private string _EncryptedText;
        public string EncryptedText
        {
            get { return _EncryptedText; }
            set { SetProperty(ref _EncryptedText, value); }
        }


        public ICommand CancelCommond { get; set; }


        public QueryFriendViewModel()
        {

            CancelCommond = new DelegateCommand(CancelClick);
        }

        private void ConfirmClick()
        {
            RequestClose();
        }

        private void CancelClick()
        {
            RequestClose();
        }
    }
}
